package com.wonders.ssh.dao;

import java.util.List;

import com.wonders.ssh.model.User;

/**
 * liubiao
 */
public interface UserDAO {
	public void save(User user);

	public void delete(User user);

	public User findById(java.lang.Integer id);

	public List findByExample(User user);

	public List findByProperty(String propertyName, Object value);

	public List findByUsername(Object username);

	public List findByPassword(Object password);

	public List findAll();
}
